package com.keya.base.output;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

@AllArgsConstructor
@Data
public class PageData implements Serializable {

    Long total;
    Object list;

    public static PageData build(Long total, Object list) {
        return new PageData(total, list);
    }

}
